<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
	<meta charset="UTF-8">
	<title>Insert title here</title>
	</head>
	<body>
		<%
			//application的作用域最大，作用于整个 WEB 应用，
			application.setAttribute("name", "tom");
			response.sendRedirect("target.jsp");
		%>
		<h1>page.jsp</h1>
	</body>
</html>